<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
  		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
  		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title>范客生活物流单号通知</title>
	    <style>
			* {
			margin: 0;
			padding: 0;
			}
			html, body {
			height: 100%;
			font-family:"Microsoft YaHei", "微软雅黑";
			padding: 0px 5px;
			}
			.wrap{
				width:750px;
				margin:0px auto;
			}
			.title{
				height:80px;
				border-bottom:1px solid #dbdbdb;
			}
			.title img{
				height:60px;
				padding-top:10px
			}
			.text1{
				line-height: 1.5;
				font-size: 14px;
				margin-bottom: 25px;
				color: #4d4d4d;
				margin-top:40px;
				margin-left:0;
			}
			.text1 strong{
				display:block;
				margin-bottom:15px;
			}
			
			.text3{
				font-size:12px;
				color:#aba7a7;	
				margin-top:25px;
				width:660px;
				line-height:20px;
				margin-left:0;	
			}
			.text3 strong{
				color:#FF4B4B;
			}
			.wecare{
				margin-top: 10px;
				color: #e6ae06;
			}
			.footer{
				padding: 20px 0 0;
				border-top: 1px solid #ccc;
				color: #999;
				margin-bottom: 20px;
				line-height: 1.3em;
				font-size: 12px;
				margin-top:10px;
			}
			.wrap p a{
				color:#0088cc;
				text-decoration:none;
			}
			.text1 b.num{
				color:#ff6600;
			}
			table {
			    display: table;
			    clear: both;
			    border: 1px solid #ccc;
			    border-collapse: collapse;
			    border-spacing: 0;
			    font-family: "Microsoft YaHei", "微软雅黑";
			}
			table tr th,
			td {
			    width: 120px;
			    display: table-cell;
			}
			.Tabletitle {
			    background: #e6ae06;
			    height: 45px;
			    line-height: 45px;
			    color: #fff;
			    font-size: 14px;
			}
			.Tabletitle th {
			    text-align: center;
			    border-left: 1px solid #ccc;
			}
			table tr .orderName {
			    width: 197px;
			    padding: 30px 5px;
			    border: none;
			}
			.Tablelist td {
			    text-align: center;
			    border-left: 1px solid #ccc;
			    padding: 30px 0px;
			}
	    </style>
	</head>
	
	<body>
		<div class="wrap">
			<div class="title">
				<img src="http://www.faxsun.com/shop/img/logo_red.png" />
			</div>
			<p class="text1">
				<strong>亲爱的 <span th:text="${customer.firstName}"> 用户</span>，您好！</strong>
				您在<a href="http://www.faxsun.com/shop/" target="_blank"> 范客生活 </a>的订单 <b class="num" th:text="${orderNumber}"></b> 中的以下商品，已经从海外仓发货咯！<br/>
			</p>
			<table>
                <tr class="Tabletitle">
                    <th class="orderName">商品名称</th>
                    <th style="">数量</th>
                    <th style="">小计</th>                            
                    <th style="">查询网址</th>
                    <th style="">运单号</th>
                </tr>
		        <tr class="Tablelist" th:each="item : ${order.discreteOrderItems}" th:object="${item}"
		            th:if="${item.urlCross != null or item.shippingNumberCross != null}">
		            <td class="orderName" th:text="*{product.name}">Damson Twist无线蓝牙音响</td>
		            <td th:text="*{quantity}">1</td>
		            <td blc:fsprice="*{price.multiply(quantity)}">￥499</td>
		            <td><a th:href="@{'http://' + *{urlCross}}">www.cx.com</a></td>
		            <td th:text="*{shippingNumberCross}">123456789</td>
		        </tr>
			</table>			
			<p class="wecare">我们会密切跟踪物流全过程，您也可以通过以上网址查询物流情况。</p>
			
			<p class="text3">范客生活秉承<strong>用户至上、诚信经营</strong>的核心价值观，严把采购渠道，精选的所有商品都来自海外知名电商网站以及授权经销商，品牌商！</p>
			<div class="footer">
	            系统邮件，请勿回复！
	            <p style="margin-top:20px">如您遇到问题，请通过客服邮箱（<a href="mailTo:service@faxsun.com">service@faxsun.com</a>）将问题和意见反馈给我们。或者拨打我们的客户服务热线 400-021-0222（工作日9:00-18:00）</p>
	            <p style="text-align:center;padding-top:10px;">范客生活 Copyright© 2015 <a href="http://www.faxsun.com/shop" target="_blank">www.faxsun.com/shop</a>
	            </p>
	        </div>
		</div>
	</body>
</html>
